package com.beidasoft.web.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
public class Ks3ConfigProperties {

    @Value("${ks3-config.accessKeyId}")
    private String accessKeyId;
    @Value("${ks3-config.accessKeySecret}")
    private String accessKeySecret;
    @Value("${ks3-config.endpoint}")
    private String endPoint;
    @Value("${ks3-config.bucketName}")
    private String bucketName;
    @Value("${ks3-config.defaultPath}")
    private String defaultPath;

}
